<?php
/**
 * @version		$Id: default.php 3 2011-12-16 20:19:15Z netix.mail@gmail.com $
 * @package		ALM Hoster
 * @desription	Web hosting and domain menager for resellers
 * @subpackage	Components
 * @copyright	Copyright (C) 2011 ALM Studio. All rights reserved.
 * @author		ALM Studio
 * @email		info@alm-studio.net
 * @link		http://alm-studio.net
 * @license		Commercial
 */
 
// No direct access
defined('_JEXEC') or die('Restricted access');
JHtml::_('behavior.tooltip');
?>
<?php 
$row = $this->item;
?>
<div><?php echo $this->loadTemplate('menu');?></div>	
<table class="detalji">
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'COM_ALMHOSTER_ORDER_PRODUCT' ); ?>
		</td>
		<td>
			<?php echo $row->OrderProduct; ?>
		</td>
	</tr>
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'Date' ); ?>
		</td>
		<td>
			<?php echo $row->OrderDate; ?>
		</td>
	</tr>
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'COM_ALMHOSTER_ORDER_BILLING_CYCLE' ); ?>
		</td>
		<td>
			<?php echo $row->billing_cycle; ?>
		</td>
	</tr>
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'Amount' ); ?>
		</td>
		<td>
			<?php echo $row->OrderRecurringAmount; ?>
		</td>
	</tr>
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'COM_ALMHOSTER_ORDER_DOMAIN' ); ?>
		</td>
		<td>		
			<?php echo $row->OrderDomain; ?>
		</td>
	</tr>
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'COM_ALMHOSTER_ORDER_NEXT_BILLING' ); ?>
		</td>
		<td>
			<?php echo $row->OrderNextBilling; ?>
		</td>
	</tr>
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'COM_ALMHOSTER_ORDER_STATUS' ); ?>
		</td>
				<?php
				if ($row->OrderStatus == 0) { ?>
		<td align="center" style= "background-color: #faf29f">
			<strong>
				<?php echo JText::_('COM_ALMHOSTER_LIST_ORDER_STATUS_'.$row->OrderStatus); ?>
			</strong>
		</td>
			<?php
				} if ($row->OrderStatus == 1) { ?>
		<td align="center" style= "background-color: #a8db99">
			<strong>
			<?php echo JText::_('COM_ALMHOSTER_LIST_ORDER_STATUS_'.$row->OrderStatus); ?>
			</strong>
		</td>
			<?php
				} if ($row->OrderStatus == 2) { ?>
		<td align="center" style= "background-color: #c9ddde">
			<strong>
				<?php echo JText::_('COM_ALMHOSTER_LIST_ORDER_STATUS_'.$row->OrderStatus); ?>
			</strong>
		</td>					
			<?php
				}	if ($row->OrderStatus == 3) { ?>
		<td align="center" style= "background-color: #e72101">
			<strong>
				<?php echo JText::_('COM_ALMHOSTER_LIST_ORDER_STATUS_'.$row->OrderStatus); ?>
			</strong>
		</td>
			<?php
				} ?>
	</tr>				
	</table>
<div>
	<?php echo JHtml::_('form.token'); ?>
</div>